//
//  HOHopeHanderEntity.m
//  微度报修
//
//  Created by foguo-mac-1 on 6/19/16.
//  Copyright © 2016 WeiDu. All rights reserved.
//

#import "HOHopeHanderEntity.h"
#import "HOConstants.h"
@implementation HOHopeHanderEntity


- (void)parseDic:(NSDictionary *)dic
{
	if(![self isValidatedDic:dic])
		return;
	self.userId = [[dic objectForKey:kHO_FIELD_UserId] intValue];
	self.userName = [dic objectForKey:kHO_FIELD_UserName];
	self.headPic = [dic objectForKey:kHO_FIELD_Headpic];
	self.level = [dic objectForKey:kHO_FIELD_Level];
	self.appraise = [[dic objectForKey:kHO_FIELD_Appraise] floatValue];
}

- (void)dealloc
{
	self.userName = nil;
	self.headPic = nil;
	self.level = nil;
	self.appraise = 0;
	[super dealloc];
}
@end
